package com.soecode.wxtools.bean;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

@Data
public class WxAccessToken {
	private String access_token;
	private int expires_in = -1;

	public static WxAccessToken fromJson(String json) {
		return JSONObject.parseObject(json, WxAccessToken.class);
	}
}
